package com.cl.dao;

import com.cl.entity.GonggaoEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 公告
 */
public interface GonggaoDao extends BaseMapper<GonggaoEntity> {
    
    @Select("select * from gonggao ${ew.customSqlSegment}")
    List<GonggaoEntity> selectListView(@Param("ew") Wrapper<GonggaoEntity> wrapper);

    @Select("select * from gonggao ${ew.customSqlSegment}")
    List<GonggaoEntity> selectListView(Pagination page, @Param("ew") Wrapper<GonggaoEntity> wrapper);
} 